#!/bin/sh

if [ "$SHELL" = "/bin/bash" ]; then
	echo "your login shell is the bash (bourne again shell)"
else
	echo "your login shell is not bash but $SHELL"
fi


# &&
[ -f "/etc/shadow" ] &&	echo "This computer uses shadow passwords" 


# ||

mailfolder=/var/spool/mail/james

[ -r "$mailfolder" ] {	echo "Can not read $mailfolder";	exit 1;	}
echo "$mailfolder has mail from:"
grep "^From" $mailfolder
